package cn.sirun.com.fca.map.activity;

import android.content.Intent;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.annotation.Nullable;

import com.tencent.cloud.uikit.ui.BaseIovActivity;

import cn.sirun.com.fca.map.view.impl.SearchMapView;

//import com.githang.statusbar.StatusBarCompat;


public class MapToSearchActivity extends BaseIovActivity {

    private SearchMapView searchMapView = null;

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState, @Nullable PersistableBundle
            persistentState) {
        super.onCreate(savedInstanceState, persistentState);
    }

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        searchMapView = new SearchMapView(this);
        getLifecycle().addObserver(searchMapView);
//        StatusBarCompat.setStatusBarColor(this, getResources().getColor(R.color.login_bg_color));
    }

    @Override
    protected void onNewIntent(Intent intent) {
        super.onNewIntent(intent);
        setIntent(intent);
    }

    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
//        mapSearchHistoryView.onActivityResult(requestCode, resultCode, data);
    }
}
